package com.github.session;

/**
 * @author  Crab2Died
 */

public class LocalSession {

    private static ThreadLocal<SObject> localeSession = new ThreadLocal<>();

    static public void set(SObject session) {
        localeSession.set(session);
    }

    static public SObject get() {
        return localeSession.get();
    }

    static public void remove() {
        localeSession.remove();
    }
}
